<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateWyFinaBankInfoTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('wy_fina_bank_info', function (Blueprint $table) {
            $table->increments('id');
            $table->string('bank_name', 250)->comment('银行名称（显示在一般界面）')->default(0);
            $table->string('bank_full_name', 250)->comment('银行全称（用于证件、发票等正式环节）');
            $table->tinyInteger('type')->comment('类型：1平台自己的虚拟银行账户2.互联网支付机构；3银行机构 ');
            $table->softDeletes();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('wy_fina_bank_info');
    }
}
